﻿using System.Collections.Generic;

namespace XamlMvp
{
    public interface IHydratable<T>
    {
        void FreezeObject(IDictionary<string, object> state, T obj);
        void FreezeKind<TKind>(IDictionary<string, object> state, TKind obj);
        T HydrateObject(IDictionary<string, object> state);
    }
}
